 <?php                                                                                              
    $csspath = '';
    $jspath = 'email/email.js';
 ?>
<?php require_once VIEWPATH.'common/header.php'; ?>
<?php require_once VIEWPATH.'common/sidebar.php'; ?>
<!--main content start-->
<section id="main-content">
    <section class="wrapper site-min-height">
        <div class="row mt">
                  <div class="col-md-12">
                      <div class="content-panel">
                          <!-- Page Body -->
                        <div class="page-body no-padding">
                            <div class="mail-container">
                                <div class="mail-header" style="margin-left: 0;">
                                    <div class="mail-title">
                                        <strong><?=$detail['subject']?></strong>
                                    </div>
                                    <ul class="header-buttons pull-right">
                                        <li>
                                            <a class="tooltip-primary" href="/email/index" data-toggle="tooltip" data-original-title="Reply"><i class="fa fa-mail-reply"></i> </a>
                                        </li>
                                    </ul>
                                </div>
                                <div class="mail-body" style="margin-left: 0">
                                    <div class="mail-info">
                                        <div class="mail-sender" style="margin-left: 10px;">
                                            <a href="#" style="cursor:default;">来自
                                                <span><?=$detail['from_username']?></span>
                                                 的消息 <span></span>
                                            </a>
                                        </div>
                                        <div class="mail-date">
                                            <?=humanDate($detail['createtime'])?>
                                        </div>
                                    </div>
                                    <div class="mail-text">
                                           <?=$detail['content']?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- /Page Body -->
                      </div><!-- /content-panel -->
                  </div><!-- /col-md-12 -->
              </div><!-- /row -->
  </section>
</section>
<?php require_once VIEWPATH.'common/footer.php'; ?>
